<%- include('layout/header.ejs') %>
<%- include('layout/top.ejs') %>
<%- include('layout/nav.ejs') %>
<%- include('layout/banner.ejs') %>
  <div class="page">
    <div class="p-center">
      <% if (config.source != 'gzh') { %>
      <div class="pc-menu mr-20">
        <div class="pcm-top">联系我们</div>
        <ul class="pcm-ul">
          <% menu.forEach((item, index) => { %>
          <li class="pcmu-li<%= index < 1 ? ' mb-10' : '' %>">
            <a class="pcmul-a <%= item.checked ? 'active' : '' %>" href="<%= config.host %>/<%= item.pinyin %>/" title="<%= item.title %>"><%= item.title %></a>
          </li>
          <% }) %>
        </ul>
      </div>
      <% } %>
      <% if (pathname === '/bmdz/') { %>
      <div class="pc-content">
        <ul class="pcc-crumb">
          <li class="pccc-list">
            <p class="pcccl-link">当前位置：</p>
            <a class="pcccl-link" href="<%= config.host %>/" title="首页">首页</a>
            <p class="pcccl-link">&nbsp;»&nbsp;</p>
            <p class="pcccl-link">联系我们</p>
            <p class="pcccl-link">&nbsp;»&nbsp;</p>
            <p class="pcccl-link">报名地址</p>
          </li>
        </ul>
        <div class="pcc-info pt-35">
          <div id="my-map" class="my-map"></div>
          <ul class="pcci-tel">
            <li class="pccit-list mr-50">业务处：0818-2282222</li>
            <li class="pccit-list">报名处：0818-2537018</li>
          </ul>
          <ul class="pcci-tel">
            <li class="pccit-list mr-50">办公室：0818-2187198</li>
            <li class="pccit-list">教务处：0818-2998678</li>
          </ul>
          <ul class="pcci-tel">
            <li class="pccit-list mr-50">保卫处：0818-3820789</li>
            <li class="pccit-list">就业处：0818-2505577</li>
          </ul>
          <ul class="pcci-tel">
            <li class="pccit-list">联系电话（24小时热线）：19960697331</li>
          </ul>
          <ul class="pcci-tel">
            <li class="pccit-list">报名地址：达州市通川区龙泉路23号（八中对面）</li>
          </ul>
          <br />
          <br />
          <br />
          <br />
          <br />
          <br />
        </div>
      </div>
      <% } else { %>
      <div class="pc-content">
        <ul class="pcc-crumb">
          <li class="pccc-list">
            <p class="pcccl-link">当前位置：</p>
            <a class="pcccl-link" href="<%= config.host %>/" title="首页">首页</a>
            <p class="pcccl-link">&nbsp;»&nbsp;</p>
            <p class="pcccl-link">联系我们</p>
            <p class="pcccl-link">&nbsp;»&nbsp;</p>
            <p class="pcccl-link">校车路线</p>
          </li>
        </ul>
        <div class="pcc-info pt-35">
          <div class="pcr-card">
            <div class="pcrc-top" style="padding-right: 40px;">
              <div class="pcrct-left">
                <strong>南外线：</strong>
                <strong class="red">三里坪</strong>
                <div class="time">
                  <p>7:00</p>
                  <img class="arrow" src="<%= config.host %>/imgs/arrow.png" />
                  <p>17:30</p>
                </div>
                <strong class="red">元翔职校</strong>
              </div>
              <div class="pcrct-right">莫俊：187-8182-6430</div>
            </div>
            <div class="pcrc-bottom">
              <ul class="pcrcb-ul">
                <li class="pcrcbu-li">三里坪站</li>
                <li class="pcrcbu-li">金都广场站</li>
                <li class="pcrcbu-li">蜀东花园站</li>
                <li class="pcrcbu-li">华蜀南路中站</li>
                <li class="pcrcbu-li">华夏康年站</li>
                <li class="pcrcbu-li">南客站</li>
                <li class="pcrcbu-li">疾控中心站</li>
                <li class="pcrcbu-li">兴盛街站<div class="gray">安曼酒店</div></li>
                <li class="pcrcbu-li">省建司站<div class="gray">华川</div></li>
                <li class="pcrcbu-li">石家湾站</li>
                <li class="pcrcbu-li">陆军医院站</li>
                <li class="pcrcbu-li">草街子站</li>
                <li class="pcrcbu-li">仙鹤路口站</li>
                <li class="pcrcbu-li">南坝小学站</li>
                <li class="pcrcbu-li">老达师专站</li>
                <li class="pcrcbu-li">塔坨站</li>
                <li class="pcrcbu-li">海棠湾站</li>
                <li class="pcrcbu-li">信德广场站</li>
                <li class="pcrcbu-li">御景上城站</li>
                <li class="pcrcbu-li">罗浮阳光<div class="gray">阳平路站</div></li>
                <li class="pcrcbu-li">通川区医院站</li>
                <li class="pcrcbu-li">四季花城站</li>
                <li class="pcrcbu-li">运动公园站</li>
                <li class="pcrcbu-li">复兴站</li>
                <li class="pcrcbu-li">元翔职校</li>
              </ul>
            </div>
          </div>
          <div class="pcr-card">
            <div class="pcrc-top" style="padding-right: 220px;">
              <div class="pcrct-left">
                <strong>北外线：</strong>
                <strong class="red">老北站</strong>
                <div class="time">
                  <p>7:00</p>
                  <img class="arrow" src="<%= config.host %>/imgs/arrow.png" />
                  <p>17:30</p>
                </div>
                <strong class="red">元翔职校</strong>
              </div>
              <div class="pcrct-right">赖发余：159-0838-9065</div>
            </div>
            <div class="pcrc-bottom">
              <ul class="pcrcb-ul">
                <li class="pcrcbu-li">老北站</li>
                <li class="pcrcbu-li">凤翎关站</li>
                <li class="pcrcbu-li">通川二小站<div class="gray">61队</div></li>
                <li class="pcrcbu-li">文轩书店站</li>
                <li class="pcrcbu-li">中心广场站</li>
                <li class="pcrcbu-li">烟巷子站</li>
                <li class="pcrcbu-li">红旗电影院站</li>
                <li class="pcrcbu-li">大观园站<div class="gray">市职中</div></li>
                <li class="pcrcbu-li">文家梁站</li>
                <li class="pcrcbu-li">老好一新站<div class="gray">二普</div></li>
                <li class="pcrcbu-li">国际新城站</li>
                <li class="pcrcbu-li">两南路口站</li>
                <li class="pcrcbu-li">御景上城站</li>
                <li class="pcrcbu-li">罗浮阳光<div class="gray">阳平路站</div></li>
                <li class="pcrcbu-li">通川区医院站</li>
                <li class="pcrcbu-li">四季花城站</li>
                <li class="pcrcbu-li">运动公园站</li>
                <li class="pcrcbu-li">复兴站</li>
                <li class="pcrcbu-li">元翔职校</li>
              </ul>
            </div>
          </div>
          <div class="pcr-card">
            <div class="pcrc-top">
              <div class="pcrct-left">
                <strong>中午线路：</strong>
                <strong class="red">元翔职校</strong>
                <div class="time">
                  <p>11:30</p>
                  <img class="arrow" src="<%= config.host %>/imgs/arrow.png" />
                  <p>16:00</p>
                </div>
                <strong class="red">三里坪</strong>
              </div>
            </div>
            <div class="pcrc-bottom" style="padding-left: 10px;">
              <ul class="pcrcb-ul">
                <li class="pcrcbu-li">元翔职校</li>
                <li class="pcrcbu-li">复兴站</li>
                <li class="pcrcbu-li">运动公园站</li>
                <li class="pcrcbu-li">四季花城站</li>
                <li class="pcrcbu-li">通川区医院站</li>
                <li class="pcrcbu-li">罗浮阳光<div class="gray">阳平路站</div></li>
                <li class="pcrcbu-li">御景上城站</li>
                <li class="pcrcbu-li">信德广场站</li>
                <li class="pcrcbu-li">海棠湾站</li>
                <li class="pcrcbu-li">塔坨站</li>
                <li class="pcrcbu-li">文家梁站</li>
                <li class="pcrcbu-li">大观园站<div class="gray">市职中</div></li>
                <li class="pcrcbu-li">老达一中站</li>
                <li class="pcrcbu-li">达巴路口站</li>
                <li class="pcrcbu-li">通川桥站</li>
                <li class="pcrcbu-li" style="padding-top: 12px;line-height: 16px;">新达街口站<div class="gray">三叉路口</div></li>
                <li class="pcrcbu-li">陆军医院站</li>
                <li class="pcrcbu-li">石家湾站</li>
                <li class="pcrcbu-li">省建司站<div class="gray">华川</div></li>
                <li class="pcrcbu-li">兴盛街站</li>
                <li class="pcrcbu-li">疾控中心站</li>
                <li class="pcrcbu-li">南客站</li>
                <li class="pcrcbu-li">妇幼保健院站</li>
                <li class="pcrcbu-li">蜀东花园站</li>
                <li class="pcrcbu-li">金都广场站</li>
                <li class="pcrcbu-li">三里坪站</li>
              </ul>
            </div>
          </div>
          <div class="pcr-card">
            <div class="pcrc-top">
              <div class="pcrct-left">
                <strong>中午线路：</strong>
                <strong class="red">三里坪</strong>
                <div class="time">
                  <p>13:00</p>
                  <img class="arrow" src="<%= config.host %>/imgs/arrow.png" />
                  <p>&nbsp;</p>
                </div>
                <strong class="red">元翔职校</strong>
              </div>
            </div>
            <div class="pcrc-bottom" style="padding-left: 5px;">
              <ul class="pcrcb-ul">
                <li class="pcrcbu-li">三里坪站</li>
                <li class="pcrcbu-li">金都广场站</li>
                <li class="pcrcbu-li">华蜀南路中站</li>
                <li class="pcrcbu-li">华夏康年站</li>
                <li class="pcrcbu-li">南客站</li>
                <li class="pcrcbu-li">疾控中心站</li>
                <li class="pcrcbu-li">兴盛街站<div class="gray">安曼酒店</div></li>
                <li class="pcrcbu-li">省建司站<div class="gray">华川</div></li>
                <li class="pcrcbu-li">石家湾站</li>
                <li class="pcrcbu-li">陆军医院站</li>
                <li class="pcrcbu-li">新达街口站</li>
                <li class="pcrcbu-li">通川桥站</li>
                <li class="pcrcbu-li">烟巷子站</li>
                <li class="pcrcbu-li">中心广场站</li>
                <li class="pcrcbu-li">红旗电影院站</li>
                <li class="pcrcbu-li">大观园站<div class="gray">中职中</div></li>
                <li class="pcrcbu-li">文家梁站</li>
                <li class="pcrcbu-li">老好一新站</li>
                <li class="pcrcbu-li">国际新城站</li>
                <li class="pcrcbu-li">两南路口站</li>
                <li class="pcrcbu-li">御景上城站</li>
                <li class="pcrcbu-li">罗浮阳光<div class="gray">阳平路站</div></li>
                <li class="pcrcbu-li">通川区医院站</li>
                <li class="pcrcbu-li">四季花城站</li>
                <li class="pcrcbu-li">运动公园站</li>
                <li class="pcrcbu-li">复兴站</li>
                <li class="pcrcbu-li">元翔职校</li>
              </ul>
            </div>
          </div>
          <br />
          <br />
          <br />
          <br />
        </div>
      </div>
      <% } %>
    </div>
  </div>
<%- include('layout/bottom.ejs') %>
<% if (pathname == '/bmdz/') { %>
  <script src="https://map.qq.com/api/gljs?v=1.exp&key=LKOBZ-FIT6C-DEH2J-AEQQE-NJ5V5-65FR5"></script>
  <script>
    //地图初始化函数，本例取名为init，开发者可根据实际情况定义
    function initMap() {
      //定义地图中心点坐标
      var center = new TMap.LatLng(31.221115,107.468549)
      //定义map变量，调用 TMap.Map() 构造函数创建地图
      var map = new TMap.Map(document.getElementById('my-map'), {
          center: center,//设置地图中心点坐标
          zoom: 17.2,   //设置地图缩放级别
          pitch: 45,  //设置俯仰角
          rotation: 45    //设置地图旋转角度
      });
      //创建并初始化MultiMarker
      var markerLayer = new TMap.MultiMarker({
        map: map,  //指定地图容器
        //样式定义
        styles: {
          //创建一个styleId为"myStyle"的样式（styles的子属性名即为styleId）
          myStyle: new TMap.MarkerStyle({ 
            width: 25,  // 点标记样式宽度（像素）
            height: 35, // 点标记样式高度（像素）
            //焦点在图片中的像素位置，一般大头针类似形式的图片以针尖位置做为焦点，圆形点以圆心位置为焦点
            anchor: { x: 16, y: 32 }
          })
        },
        //点标记数据数组
        geometries: [{
          id: 1,   //点标记唯一标识，后续如果有删除、修改位置等操作，都需要此id
          styleId: 'myStyle',  //指定样式id
          position: center,  //点标记坐标位置
          properties: {//自定义属性
            title: '达州市元翔职校报名处',
            display: 'block'
          }
        }]
      });
      //初始化label
      var label = new TMap.MultiLabel({
        id: 'label-layer',
        map: map, //设置折线图层显示到哪个地图实例中
        //文字标记样式
        styles: {
          'label': new TMap.LabelStyle({
              'color': '#d40000', //颜色属性
              'size': 20, //文字大小属性
              'offset': { x: 0, y: 20 }, //文字偏移属性单位为像素
              'angle': 0, //文字旋转属性
              'alignment': 'center', //文字水平对齐属性
              'verticalAlignment': 'middle' //文字垂直对齐属性
          })
        },
        //文字标记数据
        geometries: [{
          'id': 'label_1', //点图形数据的标志信息
          'styleId': 'label', //样式id
          'position': center, //标注点位置
          'content': '达州市元翔职校报名处', //标注文本
        }]
      });
    }
    initMap()
  </script>
<% } %>
<%- include('layout/footer.ejs') %>